<script type="text/javascript"> <!-- some statements //--> </script>
The two forward slashes in front of the end of comment line (//) are a JavaScript comment symbol, and prevent the JavaScript from trying to compile the line